package cn.com.open.itembank.dto;

import cn.com.open.itembank.entity.Question;
import cn.com.open.itembank.entity.QuestionCategory;

import java.util.List;

/**
 * Created by lucky on 2017/9/14.
 */
public class ItemDto {
    /**
     * 试题模型
     */
    private Question question;
    /**
     * 试题qti的xml结构
     */
    private String contentXml;
    /**
     * 试题类型
     */
    private Integer questionTypeId;
    /**
     * 试题所属大题编号
     */
    private String sectionId;
    /**
     * 试题所属题库id
     */
    private String itemBankId;
    /**
     * 试题类别列表
     */
    private List<QuestionCategory> categories;


    /**
     * Gets question.
     *
     * @return the question
     */
    public Question getQuestion() {
        return question;
    }

    /**
     * Sets question.
     *
     * @param question the question
     */
    public void setQuestion(Question question) {
        this.question = question;
    }

    /**
     * Gets content xml.
     *
     * @return the content xml
     */
    public String getContentXml() {
        return contentXml;
    }

    /**
     * Sets content xml.
     *
     * @param contentXml the content xml
     */
    public void setContentXml(String contentXml) {
        this.contentXml = contentXml;
    }

    /**
     * Gets question type id.
     *
     * @return the question type id
     */
    public Integer getQuestionTypeId() {
        return questionTypeId;
    }

    /**
     * Sets question type id.
     *
     * @param questionTypeId the question type id
     */
    public void setQuestionTypeId(Integer questionTypeId) {
        this.questionTypeId = questionTypeId;
    }

    /**
     * Gets section id.
     *
     * @return the section id
     */
    public String getSectionId() {
        return sectionId;
    }

    /**
     * Sets section id.
     *
     * @param sectionId the section id
     */
    public void setSectionId(String sectionId) {
        this.sectionId = sectionId;
    }

    /**
     * Gets item bank id.
     *
     * @return the item bank id
     */
    public String getItemBankId() {
        return itemBankId;
    }

    /**
     * Sets item bank id.
     *
     * @param itemBankId the item bank id
     */
    public void setItemBankId(String itemBankId) {
        this.itemBankId = itemBankId;
    }

    /**
     * Gets categories.
     *
     * @return the categories
     */
    public List<QuestionCategory> getCategories() {
        return categories;
    }

    /**
     * Sets categories.
     *
     * @param categories the categories
     */
    public void setCategories(List<QuestionCategory> categories) {
        this.categories = categories;
    }

}
